package com.wwe.kotlinstudy.util.extend.four

open class Zoo {
    open fun f() { println("Foo.f()") }
    open val x: Int get() = 1
}

class Bar : Zoo() {
    override fun f() {
        super.f()
        println("Bar.f()")
    }

    override val x: Int get() = super.x + 1
}